package club.haomoon.core.entity.article;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "文章分类实体")
public class ArticleCateData implements Serializable {

    @TableId(value="id", type= IdType.AUTO)
   @Schema(title = "主键")
    private Integer id;

   @Schema(title = "名称")
    private String name;

   @Schema(title = "排序")
    private Integer sort;

   @Schema(title = "是否显示: [0=否, 1=是]")
    private Integer isShow;

   @Schema(title = "创建时间")
    private Long createTime;

   @Schema(title = "更新时间")
    private Long updateTime;

   @Schema(title = "删除时间")
    private Long deleteTime;
}
